/**
 * 
 */
package pt.mleiria.sAction.hibernate;

import java.util.Set;

/**
 * @author Manuel
 *
 */
public class Index {
	
	private long id;
	private String ticker;
	private String market;
	private Set<IndexData> indexDataSet;
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("[id:" + id + ";");
		sb.append("ticker:" + ticker + ";");
		sb.append("market:" + market + ";");
		sb.append("Set<IndexData>]");
		return sb.toString();
	}
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the ticker
	 */
	public String getTicker() {
		return ticker;
	}
	/**
	 * @param ticker the ticker to set
	 */
	public void setTicker(String ticker) {
		this.ticker = ticker;
	}
	/**
	 * @return the market
	 */
	public String getMarket() {
		return market;
	}
	/**
	 * @param market the market to set
	 */
	public void setMarket(String market) {
		this.market = market;
	}
	/**
	 * @return the indexDataSet
	 */
	public Set<IndexData> getIndexDataSet() {
		return indexDataSet;
	}
	/**
	 * @param indexDataSet the indexDataSet to set
	 */
	public void setIndexDataSet(Set<IndexData> indexDataSet) {
		this.indexDataSet = indexDataSet;
	}
	
	
	

}
